package view;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class MainClass {
	public static void main(String args[]){
		Display display = new Display();
		Shell shell = new Shell(display);
		shell.setText("Topology View");
		shell.setSize(640, 480);
		shell.setLocation(30, 30);
		shell.setLayout(new FillLayout());
		new MapControl(shell, SWT.NONE);
		shell.open();
		while (!shell.isDisposed()){
			if (!display.readAndDispatch()){
				display.sleep ();
			}
		}
		display.dispose();
		
	}
}
